package cn.jxufe.dao;

import org.springframework.data.jpa.repository.JpaRepository;

import cn.jxufe.entity.Farm;

public interface FarmDAO extends JpaRepository<Farm, Long>{

//	Farm findByLandId(int landId);
	Farm findByLandIdAndUserId(int landId, int userId);

}
